package com.wanxi.api;

public class Child extends Parent{
    private String name;
    public Child(){

        System.out.println("1");
    }
    public Child(String name){

        System.out.println("2");
    }

    @Override
    public String toString() {
        return "Child{" +
                "name='" + name + '\'' +
                '}';
    }
}
